package com.landinfo.service.mapper;

import com.landinfo.domain.*;
import com.landinfo.service.dto.TaskManagementDTO;

import org.mapstruct.*;

/**
 * Mapper for the entity TaskManagement and its DTO TaskManagementDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface TaskManagementMapper extends EntityMapper <TaskManagementDTO, TaskManagement> {
    
    
    default TaskManagement fromId(Long id) {
        if (id == null) {
            return null;
        }
        TaskManagement taskManagement = new TaskManagement();
        taskManagement.setId(id);
        return taskManagement;
    }
}
